Expand description
§Rust Pango bindings
Rust bindings and wrappers for Pango, part of gtk-rs-core.
Pango 1.40 is the lowest supported version for the underlying library.
§Minimum supported Rust version
Currently, the minimum supported Rust version is 1.70.0
.
§Documentation
§Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
pango = "0.13"
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
§See Also
§License
pango is available under the MIT License, please refer to it.
Re-exports§
Modules§
- Traits and essential types intended for blanket imports.
Structs§
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Shared boxed type with reference counted clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: Shared boxed type with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- The result of
LayoutLine::x_to_index
. - GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: GObject with reference counted clone semantics.
- GLib type: Boxed type with copy-on-clone semantics.
- GLib type: Shared boxed type with reference counted clone semantics.
- Layout
Serialize Flags v1_50
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: Inline allocated boxed type with stack copy semantics.
- GLib type: GObject with reference counted clone semantics.
- Shape
Flags v1_44
- Show
Flags v1_44
- GLib type: Boxed type with copy-on-clone semantics.
Enums§
- Baseline
Shift v1_50
- Bidi
Type Deprecated - Font
Scale v1_50
- Overline
v1_46
- Text
Transform v1_50
Constants§
- The scale factor for one magnification step (1.2).
- The scale factor for normal size (1.0).
- The scale factor for one shrinking step (1 / 1.2).
- The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
- The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
- The scale factor for two magnification steps (1.2 * 1.2).
- The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
Traits§
Functions§
- shape_
with_ flags v1_44